Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>.NET Framework</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/.NET_Framework"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-_NET_Framework rootpage-_NET_Framework skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><i><span lang="en">.NET Framework</span></i></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><p class="mw-empty-elt">
</p>

<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="background-color: #512BD4; color: #FFFFFF;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}


/* end https://fr.wikipedia.org/ */
</style>
<div><i><span class="lang-en" lang="en">.NET Framework</span></i></div>
</div>
<div class="images">
</div>
<div class="hr" style="background-color:#512BD4; height:2px;"></div>
<div class="images">
</div>
<table><caption style="background-color:#512BD4;color:#FFFFFF;">Informations</caption>



<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
<a href="Microsoft" title="Microsoft">Microsoft</a></td>
</tr>



<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Première version</a>
</th>
<td>
<time class="nowrap" datetime="2002-02-13" data-sort-value="2002-02-13">13 février 2002</time> (<span data-sort-value="&amp;0000000000008662" class="datasortkey">23&nbsp;ans, 261&nbsp;jours</span>)</td>
</tr>

<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>
<span class="wd_p348">4.8.1 (<time class="nowrap" datetime="2022-08-09" data-sort-value="2022-08-09">9 août 2022</time>)<sup id="cite_ref-wikidata-db0aae4ce747425de906af6c567ed613b8ccf832_1-0" class="reference"><a href="#cite_note-wikidata-db0aae4ce747425de906af6c567ed613b8ccf832-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span></td>
</tr>
















<tr>
<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a></th>
<td>
<span class="wd_p306"><a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a></span></td>
</tr>

<tr>
<th scope="row"><a href="Plateforme_informatique" title="Plateforme informatique">Environnement</a></th>
<td>
<a href="Windows" class="mw-redirect" title="Windows">Windows</a></td>
</tr>



<tr>
<th scope="row"><a href="Format_de_donn%C3%A9es" title="Format de données">Formats</a> lus</th>
<td>
<span class="wd_p1072">Modèle de ressource Microsoft .NET XML (UTF-8) <small>(<a href="https://www.wikidata.org/wiki/Q105860806" class="extiw external" title="d:Q105860806"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Modèle de ressource Microsoft .NET XML <small>(<a href="https://www.wikidata.org/wiki/Q105860599" class="extiw external" title="d:Q105860599"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Ressource de données .NET Framework <small>(<a href="https://www.wikidata.org/wiki/Q105860542" class="extiw external" title="d:Q105860542"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, .NET Micro Framework TinyFont <small>(<a href="https://www.wikidata.org/wiki/Q105851188" class="extiw external" title="d:Q105851188"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small> et Exécutable .NET Micro Framework PE <small>(<a href="https://www.wikidata.org/wiki/Q105858273" class="extiw external" title="d:Q105858273"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small></span></td>
</tr>

<tr>
<th scope="row"><a href="Format_de_donn%C3%A9es" title="Format de données">Formats</a> écrits</th>
<td>
<span class="wd_p1073">Modèle de ressource Microsoft .NET XML (UTF-8) <small>(<a href="https://www.wikidata.org/wiki/Q105860806" class="extiw external" title="d:Q105860806"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Modèle de ressource Microsoft .NET XML <small>(<a href="https://www.wikidata.org/wiki/Q105860599" class="extiw external" title="d:Q105860599"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Ressource de données .NET Framework <small>(<a href="https://www.wikidata.org/wiki/Q105860542" class="extiw external" title="d:Q105860542"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, .NET Micro Framework TinyFont <small>(<a href="https://www.wikidata.org/wiki/Q105851188" class="extiw external" title="d:Q105851188"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small> et Exécutable .NET Micro Framework PE <small>(<a href="https://www.wikidata.org/wiki/Q105858273" class="extiw external" title="d:Q105858273"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small></span></td>
</tr>



<tr>
<th scope="row"> Type
</th>
<td>
<a href="Framework" title="Framework">Infrastructure de développement</a></td>
</tr>

<tr>
<th scope="row"> <a href="Politique_de_distribution" title="Politique de distribution">Politique de distribution</a>
</th>
<td>
<a href="Offre_group%C3%A9e" title="Offre groupée">incorporé</a> dans <a href="Windows" class="mw-redirect" title="Windows">Windows</a> et <a href="T%C3%A9l%C3%A9chargement" title="Téléchargement">téléchargement</a> gratuit</td>
</tr>

<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<a href="Licence_de_logiciel" title="Licence de logiciel">CLUF</a> <a href="Licence_propri%C3%A9taire" title="Licence propriétaire">propriétaire</a></td>
</tr>



<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<span class="wd_p856"><a rel="nofollow" class="external text" href="https://dotnet.microsoft.com/">dotnet.microsoft.com</a></span></td>
</tr>

</tbody></table>
<p class="bloc" style="background-color:#512BD4; color:#FFFFFF;">Chronologie des versions</p>
<p class="overflow infobox-navigateur navigation-not-searchable" style=""><span class="next_bloc"><a href=".NET" title=".NET">.NET</a></span></p>
</div>
<p>Le <i><b><span class="lang-en" lang="en">.NET Framework</span></b></i><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>N 1<span class="cite-bracket">]</span></a></sup> (<span class="need_ref" title="Ce passage nécessite une référence." style="cursor:help;"><a href="Abr%C3%A9viation" title="Abréviation">abr.</a> <b>NetFx</b></span><sup class="need_ref_tag" style="padding-left:2px;">[réf.&nbsp;nécessaire]</sup>) est un cadriciel (<i><span class="lang-en" lang="en"><a href="Framework" title="Framework">framework</a></span></i>) <a href="Logiciel_propri%C3%A9taire" title="Logiciel propriétaire">propriétaire</a> de <a href="Microsoft" title="Microsoft">Microsoft</a> qui s’exécute principalement sur <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a>, <span class="need_ref" title="Ce passage nécessite une référence." style="cursor:help;">et <a href="Microsoft_Windows_Mobile" class="mw-redirect" title="Microsoft Windows Mobile">Microsoft Windows Mobile</a> depuis la version 5</span><sup class="need_ref_tag" style="padding-left:2px;">[réf.&nbsp;nécessaire]</sup> (<i><span class="lang-en" lang="en"><a href=".NET_Compact_Framework" title=".NET Compact Framework">.NET Compact Framework</a></span></i>). Il s’agissait de l’implémentation principale de la <a href="Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a> (CLI), jusqu’à la sortie d’une nouvelle implémentation <i><a href="Logiciel_multiplateforme" title="Logiciel multiplateforme">multiplateforme</a></i> appelée simplement <i><a href=".NET" title=".NET">.NET</a></i>.
</p><p>Une version légère et limitée fournie avec un <a href="Environnement_d'ex%C3%A9cution" title="Environnement d'exécution">moteur d'exécution</a> fonctionnant à l'intérieur d'un navigateur ou d'<span class="need_ref" title="Ce passage est confus." style="cursor:help;">un périphérique mobile</span><sup class="need_ref_tag" style="padding-left:2px;">[pas&nbsp;clair]</sup> a été rendue disponible sous le nom de <i><span class="lang-en" lang="en"><a href="Silverlight" title="Silverlight">Silverlight</a></span></i>. La version 3.0 du cadriciel a été intégrée à <a href="Windows_Vista" title="Windows Vista">Windows Vista</a> et à la plupart des versions de <a href="Windows_Server_2008" title="Windows Server 2008">Windows Server 2008</a>. <span class="need_ref" title="Ce passage nécessite une référence." style="cursor:help;">La version 4.5.1 est intégrée à <a href="Windows_8" title="Windows 8">Windows 8</a>, la version 4.6 est intégrée à <a href="Windows_10" title="Windows 10">Windows 10</a></span><sup class="need_ref_tag" style="padding-left:2px;">[réf.&nbsp;nécessaire]</sup> et la version 4.8 à <a href="Windows_11" title="Windows 11">Windows 11</a>.
</p>

<div class="mw-heading mw-heading2"><h2 id="Environnement_d’exécution"><span id="Environnement_d.E2.80.99ex.C3.A9cution"></span>Environnement d’exécution</h2></div>
<p><i><span class="lang-en" lang="en">.NET Framework</span></i> s'appuie sur la norme <i><span class="lang-en" lang="en"><a href="Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a></span></i> (CLI), qui est indépendante du <a href="Langage_de_programmation" title="Langage de programmation">langage de programmation</a> utilisé. Ainsi, tous les langages compatibles respectant la norme CLI ont accès à toutes les <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèques</a> installées (installables) dans l'environnement d'exécution; un logiciel écrit en C# peut par exemple utiliser des bibliothèques implémentées en <a href="Visual_Basic_.NET" title="Visual Basic .NET">Visual Basic .NET</a>. <span class="need_ref" title="Une source est souhaitée pour ce passage." style="cursor:help;">Le cadriciel <i><span class="lang-en" lang="en">.NET Framework</span></i> est un sous ensemble de la technologie <i><span class="lang-en" lang="en"><a href="Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a></span></i>.</span><sup class="need_ref_tag" style="padding-left:2px;">[<abbr class="abbr" title="référence">réf.</abbr>&nbsp;souhaitée]</sup>
</p><p>Il a pour but de faciliter la tâche des <a href="D%C3%A9veloppeur" title="Développeur">développeurs</a> en proposant une approche unifiée à la conception d'applications <a href="Microsoft_Windows" title="Microsoft Windows">Windows</a> ou <a href="Application_web" title="Application web">web</a>, tout en introduisant des facilités pour le développement, le déploiement et la maintenance d'applications. Il a besoin d'être installé sur la machine de l'utilisateur final, rendant les applications créées sous cet environnement impropres à un usage portable.
</p><p>Les programmes utilisant le .NET framework s’exécutent en effet dans un environnement d’exécution logiciel plutôt que directement sur le hardware de la machine hôte. Cet environnement virtualisé, le <a href="Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a> (CLR), est similaire à une machine virtuelle fournissant des services intégrés tels que la gestion mémoire, des couches de sécurité, la gestion d’exceptions…
</p><p>Par ailleurs, .NET Framework fournit une bibliothèque standard nommée Framework Class Library (FCL). La combinaison de FCL et CLR constitue le framework à proprement parler.
</p>
<div class="mw-heading mw-heading2"><h2 id="La_plate-forme_.Net_hérite_du_Framework_.Net_et_du_CLR"><span id="La_plate-forme_.Net_h.C3.A9rite_du_Framework_.Net_et_du_CLR"></span>La plate-forme <i><span class="lang-en" lang="en">.Net</span></i> hérite du <i><span class="lang-en" lang="en">Framework .Net</span></i> et du CLR</h2></div>
<p><i><span class="lang-en" lang="en">.NET Framework</span></i> s'inscrit dans la <a href="Plate-forme_(informatique)" class="mw-redirect" title="Plate-forme (informatique)">plateforme</a> logicielle <i><span class="lang-en" lang="en"><a href="Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a></span></i>, laquelle permet en outre de gérer tous les aspects de l'exécution d'une application dans un environnement d'exécution dit «&nbsp;managé&nbsp;»&nbsp;:
</p>
<ul><li><a href="Allocation_de_m%C3%A9moire" title="Allocation de mémoire">allocation de mémoire</a> pour le stockage des données et des instructions du programme&nbsp;;</li>
<li>autorisation ou refus des droits à l'application&nbsp;;</li>
<li>démarrage et gestion de l'exécution&nbsp;;</li>
<li>gestion de ré-allocation de la mémoire pour les ressources qui ne sont plus utilisées.</li></ul>
<p>Elle est composée de deux principaux blocs&nbsp;: une <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèque logicielle</a> <i><span class="lang-en" lang="en">.NET</span></i> et une <a href="Machine_virtuelle" title="Machine virtuelle">machine virtuelle</a> compatible <i><span class="lang-en" lang="en"><a href="Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a></span></i> (CLI), sous les noms de <i><span class="lang-en" lang="en"><a href="Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a></span></i> (CLR) et <i><span class="lang-en" lang="en"><a href="Dynamic_Language_Runtime" title="Dynamic Language Runtime">Dynamic Language Runtime</a></span></i> (DLR). CLR est le composant de <a href="Machine_virtuelle" title="Machine virtuelle">machine virtuelle</a> pour le cadriciel <i><span class="lang-en" lang="en">.NET framework</span></i>. Il s'agit de l'implémentation par Microsoft du standard <i><span class="lang-en" lang="en">Common Language Infrastructure</span></i> (CLI) qui définit l'environnement d'exécution des codes de programmes. Le CLR fait tourner un <i><span class="lang-en" lang="en"><a href="Bytecode" title="Bytecode">bytecode</a></span></i> nommé <i><span class="lang-en" lang="en">Common Intermediate Language</span></i> (CIL). Le compilateur à la volée transforme le code CIL en code natif spécifique au <a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">système d'exploitation</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Bibliothèques_de_classes_.NET"><span id="Biblioth.C3.A8ques_de_classes_.NET"></span>Bibliothèques de classes <i><span class="lang-en" lang="en">.NET</span></i></h2></div>
<p>Il y a trois couches au-dessus du <i><span class="lang-en" lang="en">Common Language Runtime</span></i> (CLR), chacune comportant des classes apportant des fonctionnalités de plus en plus évoluées.
</p>
<div class="mw-heading mw-heading3"><h3 id="Base_Class_Library"><i><span class="lang-en" lang="en">Base Class Library</span></i></h3></div>

<p>Dans la première couche se trouve la <i><span class="lang-en" lang="en">Base Class Library</span></i> (BCL), rassemblant des classes permettant les manipulations de chaînes de texte, la gestion des entrées/sorties, des communications réseaux, des <a href="Processus_l%C3%A9ger" class="mw-redirect" title="Processus léger">processus légers</a> et le design des <a href="Interface_graphique" title="Interface graphique">interfaces graphiques</a>. Ces classes sont similaires à celles présentes dans l'API <a href="Java_(technologie)" class="mw-redirect" title="Java (technologie)">Java</a> développée par <a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a>. La manipulation des <a href="Cha%C3%AEne_de_caract%C3%A8res" title="Chaîne de caractères">chaînes de caractères</a>, par exemple, est disponible dans la classe <i>String</i>, dans les deux langages&nbsp;; la différence étant qu'en Java il n'existe pas de type de base pour manipuler les chaînes (on manipule des objets String), alors qu'en .NET, le type <i>string</i> (avec un «&nbsp;s&nbsp;» minuscule) a spécifiquement été défini.
</p>
<div class="mw-heading mw-heading3"><h3 id="Classes_d'accès_aux_données"><span id="Classes_d.27acc.C3.A8s_aux_donn.C3.A9es"></span>Classes d'accès aux données</h3></div>
<p>La deuxième couche est composée de deux <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèques</a> de classes d'accès aux données. Tout d'abord, ADO.NET, s'élevant sur les bases de l'ancien ADO (<i>ActiveX Data Objects</i>) utilisé par les développeurs ASP, et permettant l'accès sous format XML aux interfaces de bases de données <a href="Microsoft_SQL_Server" title="Microsoft SQL Server">SQL Server</a>, <a href="Open_database_connectivity" class="mw-redirect" title="Open database connectivity">ODBC</a>, OLE DB, <a href="Oracle_(base_de_donn%C3%A9es)" class="mw-redirect" title="Oracle (base de données)">Oracle</a> et <a href="Sybase" title="Sybase">Sybase</a>, et bien sûr aux fichiers XML. Les <i>XML Classes</i> permettent de manipuler les données XML. On y trouve par exemple les classes <a href="Extensible_Stylesheet_Language_Transformations" title="Extensible Stylesheet Language Transformations">XSLT</a> permettant la transformation d'un document XML vers n'importe quel type d'autre document. Un autre exemple, il est très facile de charger un document XML dans une table, et <i>vice versa</i>, grâce au XML sous-jacent.
</p>
<div class="mw-heading mw-heading3"><h3 id="XML_Web_Services,_Web_Forms,_Windows_Forms"><span id="XML_Web_Services.2C_Web_Forms.2C_Windows_Forms"></span>XML Web Services, Web Forms, Windows Forms</h3></div>
<p>La dernière couche, la plus élevée, est utilisée pour la création de <a href="Service_web" title="Service web">services web</a>, de pages Web, et d'applications Windows. Les deux premiers forment <a href="ASP.NET" title="ASP.NET">ASP.NET</a>, là aussi une référence à l'ancien langage de <a href="Programmation_web" title="Programmation web">programmation Web</a>. Les pages internet ayant pour extension <i>.aspx</i> sont généralement des pages Web écrites en .NET, tandis que les pages écrites en ASP se terminent généralement en <i>.asp</i>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Infrastructure_.NET">Infrastructure .NET</h2></div>

<div class="mw-heading mw-heading3"><h3 id="Structure_d'une_application_.NET"><span id="Structure_d.27une_application_.NET"></span>Structure d'une application <i><span class="lang-en" lang="en">.NET</span></i></h3></div>
<p>L'unité de base d'une application <i><span class="lang-en" lang="en">.NET</span></i> est appelée un assemblage (<i><span class="lang-en" lang="en">assembly</span></i>). Il s'agit d'un ensemble de code, de ressources et de <a href="M%C3%A9tadonn%C3%A9e" title="Métadonnée">métadonnées</a>. Un assemblage est toujours accompagné par un manifeste (<i><span class="lang-en" lang="en">assembly manifest</span></i>) qui décrit ce qu'il contient&nbsp;: nom, version, <a href="Type_(informatique)" title="Type (informatique)">types de données</a> exposées, autres assemblages utilisés, instructions de sécurité. Un assemblage est composé d'un ou plusieurs modules qui contiennent le code.
</p>
<div class="mw-heading mw-heading3"><h3 id="Compilation_et_exécution_d'une_application_.NET"><span id="Compilation_et_ex.C3.A9cution_d.27une_application_.NET"></span>Compilation et exécution d'une application .NET</h3></div>
<p>Tout comme en Java, quand une application .NET est compilée, elle n'est pas compilée en code binaire machine, mais dans un code binaire intermédiaire CIL. Une application consiste donc en un ensemble d'assemblages contenus dans un ou plusieurs fichiers exécutables ou <a href="Dynamic_Link_Library" title="Dynamic Link Library">fichiers DLL</a> en <i><span class="lang-en" lang="en"><a href="Common_Intermediate_Language" title="Common Intermediate Language">Common Intermediate Language</a></span></i> (CIL). Au moins un de ces assemblages doit contenir un point d'entrée afin de démarrer l'application.
</p><p>Quand l'exécution d'un programme démarre, le premier assemblage est chargé en mémoire. Le CLR commence par examiner les permissions demandées par cet assemblage et les compare à la <a href="Politique_de_s%C3%A9curit%C3%A9" title="Politique de sécurité">politique de sécurité</a> (<i><span class="lang-en" lang="en">security policy</span></i>) du système. Puis, si l'assemblage est autorisé à s'exécuter, un processus est créé pour exécuter l'application. Le premier morceau de code nécessaire à l'exécution est chargé en mémoire et est compilé en code binaire natif par le <a href="Compilation_%C3%A0_la_vol%C3%A9e" title="Compilation à la volée">compilateur juste à temps</a> (<i><span class="lang-en" lang="en">Just-In-Time</span></i>, JIT). Une fois compilé, le code est exécuté et stocké en mémoire sous forme de code natif, garantissant ainsi que chaque portion de code n'est compilée qu'une seule fois lors de l'exécution de l'application.
</p>
<div class="mw-heading mw-heading2"><h2 id="Versions">Versions</h2></div>
<p>Microsoft a commencé le développement du .NET Framework à la fin des <a href="Ann%C3%A9es_1990" title="Années 1990">années 1990</a> sous le nom de <i><span class="lang-en" lang="en">Next Generation Windows Services</span></i> (NGWS ou «&nbsp;Prochaine génération de services Windows&nbsp;»). La première version bêta du framework (.Net 1.0) est disponible à la fin de l'<a href="2000_en_informatique" title="2000 en informatique">an 2000</a>.
</p>
<table class="wikitable" style="text-align: center;">
<caption>Versions du framework .NET
</caption>
<tbody><tr>
<th colspan="2" rowspan="2">Version</th>
<th rowspan="2"><a href="Common_Language_Runtime" title="Common Language Runtime">CLR</a></th>
<th rowspan="2">Sortie</th>
<th rowspan="2">Livré avec<br>Visual Studio</th>
<th colspan="2">Préinstallé avec Windows</th>
<th rowspan="2">Comprend
</th></tr>
<tr>
<th>Client</th>
<th>Serveur
</th></tr>
<tr>
<td colspan="2"><a href="#.NET_Framework_1.0">1.0</a></td>
<td>1.0</td>
<td>13 février 2002</td>
<td><a href="Visual_Studio_.NET" class="mw-redirect" title="Visual Studio .NET">.NET 2002</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td rowspan="3" style="background: #ececec; color: grey; vertical-align: middle; text-align: center; font-size: 84%">NC
</td></tr>
<tr>
<td colspan="2"><a href="#.NET_Framework_1.1">1.1</a></td>
<td>1.1</td>
<td>24 avril 2003</td>
<td><a href="Visual_Studio_.NET_2003" class="mw-redirect" title="Visual Studio .NET 2003">.NET 2003</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="Windows_Server_2003" title="Windows Server 2003">2003</a>
</td></tr>
<tr>
<td colspan="2"><a href="#.NET_Framework_2.0">2.0</a></td>
<td rowspan="6">2.0</td>
<td>7 novembre 2005</td>
<td><a href="Visual_Studio_2005" class="mw-redirect" title="Visual Studio 2005">2005</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="Windows_Server_2003" title="Windows Server 2003">2003 R2</a>
</td></tr>
<tr>
<td colspan="2"><a href="#.NET_Framework_3.0">3.0</a></td>
<td>6 novembre 2006</td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="Windows_Vista" title="Windows Vista">Vista</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="#.NET_Framework_2.0">2.0</a>
</td></tr>
<tr>
<td rowspan="4"><a href="#.NET_Framework_3.5">3.5</a></td>
<td><a href="#.NET_Framework_3.5">3.5</a></td>
<td>19 novembre 2007</td>
<td><a href="Visual_Studio_2008" class="mw-redirect" title="Visual Studio 2008">2008</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td rowspan="2"><a href="#.NET_Framework_3.0">3.0 SP1</a> (<a href="#.NET_Framework_2.0">2.0 SP1</a>)
</td></tr>
<tr>
<td><a href="#.NET_Framework_3.5">3.5.1</a></td>
<td>4 février 2008</td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="Windows_Server_2008" title="Windows Server 2008">2008</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_3.5">3.5 SP1</a></td>
<td>11 août 2008</td>
<td><a href="Visual_Studio_2008" class="mw-redirect" title="Visual Studio 2008">2008 SP1</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td rowspan="2"><a href="#.NET_Framework_3.0">3.0 SP2</a> (<a href="#.NET_Framework_2.0">2.0 SP2</a>)
</td></tr>
<tr>
<td><a href="#.NET_Framework_3.5">3.5.1 SP1</a></td>
<td>22 juillet 2009</td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td><a href="Windows_7" title="Windows 7">7</a></td>
<td><a href="Windows_Server_2008_R2" title="Windows Server 2008 R2">2008 R2</a>
</td></tr>
<tr>
<td rowspan="12">4</td>
<td><a href="#.NET_Framework_4.0">4.0</a></td>
<td rowspan="12">4.0</td>
<td>12 avril 2010</td>
<td><a href="Visual_Studio_2010" class="mw-redirect" title="Visual Studio 2010">2010</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td rowspan="12" style="background: #ececec; color: grey; vertical-align: middle; text-align: center; font-size: 84%">NC<br>(mise à jour sur place)
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.5">4.5</a></td>
<td>15 août 2012</td>
<td><a href="Visual_Studio_2012" class="mw-redirect" title="Visual Studio 2012">2012</a></td>
<td><a href="Windows_8" title="Windows 8">8</a></td>
<td><a href="Windows_Server_2012" title="Windows Server 2012">2012</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.5.1">4.5.1</a></td>
<td>17 octobre 2013</td>
<td><a href="Visual_Studio_2013" class="mw-redirect" title="Visual Studio 2013">2013</a></td>
<td><a href="Windows_8.1" class="mw-redirect" title="Windows 8.1">8.1</a></td>
<td><a href="Windows_Server_2012_R2" title="Windows Server 2012 R2">2012 R2</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.5.2">4.5.2</a></td>
<td>5 mai 2014</td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.6">4.6</a></td>
<td><time class="nowrap" datetime="2015-07-20" data-sort-value="2015-07-20">20 juillet 2015</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2015</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1507</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.6">4.6.1</a></td>
<td><time class="nowrap" datetime="2015-11-17" data-sort-value="2015-11-17">17 novembre 2015</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2015 U1</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1511</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.6">4.6.2</a></td>
<td><time class="nowrap" datetime="2016-08-02" data-sort-value="2016-08-02">2 août 2016</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2017 v15.0</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1607</a></td>
<td><a href="Windows_Server_2016" title="Windows Server 2016">2016</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.7">4.7</a></td>
<td><time class="nowrap" datetime="2017-04-05" data-sort-value="2017-04-05">5 avril 2017</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2017 v15.3</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1703</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.7">4.7.1</a></td>
<td><time class="nowrap" datetime="2017-10-17" data-sort-value="2017-10-17">17 octobre 2017</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2017 v15.5</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1709</a></td>
<td>v1709
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.7">4.7.2</a></td>
<td><time class="nowrap" datetime="2018-04-30" data-sort-value="2018-04-30">30 avril 2018</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2017 v15.8</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1803–1809</a></td>
<td>v1803–1809, <a href="Windows_Server_2019" title="Windows Server 2019">2019</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.8">4.8</a></td>
<td><time class="nowrap" datetime="2019-04-18" data-sort-value="2019-04-18">18 avril 2019</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2019 v16.3</a></td>
<td><a href="Windows_10" title="Windows 10">10 v1903–22H2</a>, <a href="Windows_11" title="Windows 11">11 v21H2</a></td>
<td>v1903–20H2, <a href="Windows_Server_2022" title="Windows Server 2022">2022</a>
</td></tr>
<tr>
<td><a href="#.NET_Framework_4.8.1">4.8.1</a></td>
<td><time class="nowrap" datetime="2022-08-08" data-sort-value="2022-08-08">8 août 2022</time></td>
<td><a href="Visual_Studio" class="mw-redirect" title="Visual Studio">2022 v17.3</a></td>
<td><a href="Windows_11" title="Windows 11">11 v22H2</a></td>
<td style="background: var(--background-color-disabled, #dadde3); color: var(--color-subtle, #54595d); vertical-align: middle; text-align: center;" class="table-na"><small><abbr class="abbr" title="Non communiqué">NC</abbr></small>
</td></tr></tbody></table>
<p><br>
Pour connaître quelle(s) version(s) du Framework est(sont) installée(s) sur un poste Windows, il suffit de consulter le <a href="R%C3%A9pertoire_(informatique)" title="Répertoire (informatique)">répertoire</a> C:\WINDOWS\Microsoft.NET\Framework (chaque sous-répertoire non vide correspondant à une version présente) ou le <a href="Panneau_de_configuration_(Windows)" title="Panneau de configuration (Windows)">panneau de configuration</a> <b><small>Ajouter ou supprimer des programmes</small></b>.
</p>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_1.0">.NET Framework 1.0</h3></div>
<p>Première version du .Net Framework. Elle est disponible depuis le <time class="nowrap" datetime="2002-02-13" data-sort-value="2002-02-13">13 février 2002</time> et fonctionne sur les plates-formes Windows&nbsp;: <a href="Microsoft_Windows_98" class="mw-redirect" title="Microsoft Windows 98">Windows 98</a>, <a href="Microsoft_Windows_NT" class="mw-redirect" title="Microsoft Windows NT">NT 4.0</a>, <a href="Microsoft_Windows_2000" class="mw-redirect" title="Microsoft Windows 2000">2000</a>, <a href="Microsoft_Windows_XP" class="mw-redirect" title="Microsoft Windows XP">XP</a>.
</p>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_1.1">.NET Framework 1.1</h3></div>
<p>C'est la première évolution majeure du .NET Framework. Elle est disponible sous la forme d'un composant redistribuable ou d'un kit de développement et a été publiée le <time class="nowrap" datetime="2003-04-03" data-sort-value="2003-04-03">3 avril 2003</time>. C'est aussi une partie de la deuxième version de Microsoft <a href="Microsoft_Visual_Studio" title="Microsoft Visual Studio">Visual Studio .NET</a> (connue sous le nom de Visual Studio .NET 2003). C'est la première version du .NET Framework à faire partie d'un système d'exploitation <a href="Microsoft_Windows_Server_2003" class="mw-redirect" title="Microsoft Windows Server 2003">Windows Server 2003</a>.
</p>
<div class="mw-heading mw-heading4"><h4 id="Changements_depuis_la_version_1.0">Changements depuis la version 1.0</h4></div>
<ul><li>Support intégré pour les contrôles <a href="ASP.NET" title="ASP.NET">ASP.NET</a>&nbsp;; il fallait anciennement installer un composant supplémentaire</li>
<li>Modification de la sécurité&nbsp;: Autorise les assemblages Windows Forms à s'exécuter dans un environnement de confiance modéré à partir d'Internet et ajoute la notion de Code Acces Security dans les applications <a href="ASP.NET" title="ASP.NET">ASP.NET</a></li>
<li>Support pour <a href="Open_database_connectivity" class="mw-redirect" title="Open database connectivity">ODBC</a> et les <a href="Oracle_(base_de_donn%C3%A9es)" class="mw-redirect" title="Oracle (base de données)">bases de données Oracle</a>&nbsp;; il fallait anciennement installer un composant supplémentaire</li>
<li><a href=".NET_Compact_Framework" title=".NET Compact Framework">.NET Compact Framework</a>, une version du .NET Framework compatible avec <a href="Microsoft_Windows_CE" class="mw-redirect" title="Microsoft Windows CE">Windows CE</a></li>
<li>Support pour <a href="IPv6" title="IPv6">IPv6</a></li>
<li>Divers changements dans les <a href="Interface_de_programmation" title="Interface de programmation">API</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_2.0">.NET Framework 2.0</h3></div>
<p>Disponible avec <a href="Microsoft_Visual_Studio#Visual_Studio_2005" title="Microsoft Visual Studio">Visual Studio 2005</a>, <a href="Microsoft_SQL_Server" title="Microsoft SQL Server">Microsoft SQL Server</a> 2005 et <a href="Microsoft_BizTalk_Server" title="Microsoft BizTalk Server">BizTalk Server</a> 2006, le .NET Framework 2.0 en version redistribuable est disponible gratuitement sur le site de Microsoft et a été publié le <time class="nowrap" datetime="2006-01-22" data-sort-value="2006-01-22">22 janvier 2006</time>. Il est aussi inclus sous forme d'option gratuite à <a href="Microsoft_Windows_Server_2003" class="mw-redirect" title="Microsoft Windows Server 2003">Windows Server 2003 R2</a>.
</p><p>Le kit de développement (SDK) peut être téléchargé gratuitement sur le site de Microsoft&nbsp;; il est inclus avec <a href="Microsoft_Visual_Studio#Visual_Studio_2005" title="Microsoft Visual Studio">Visual Studio 2005</a> et <a href="Microsoft_SQL_Server" title="Microsoft SQL Server">Microsoft SQL Server</a> 2005.
</p><p>C'est la dernière version compatible avec <a href="Microsoft_Windows_2000" class="mw-redirect" title="Microsoft Windows 2000">Windows 2000</a>, <a href="Microsoft_Windows_98" class="mw-redirect" title="Microsoft Windows 98">Windows 98</a> et <a href="Microsoft_Windows_Me" class="mw-redirect" title="Microsoft Windows Me">Windows ME</a>.
</p>
<div class="mw-heading mw-heading4"><h4 id="Changement_depuis_la_version_1.1">Changement depuis la version 1.1</h4></div>
<ul><li>Ajout de diverses API</li>
<li>Support 64-bit pour les plates-formes matérielles <a href="X64" title="X64">x64</a> et <a href="IA-64" title="IA-64">IA-64</a></li>
<li>Support des <a href="G%C3%A9n%C3%A9ricit%C3%A9" title="Généricité">Generics</a> inclus dans le <a href="Common_Language_Runtime" title="Common Language Runtime">CLR</a> .NET</li>
<li>Nouveaux Web Controls pour <a href="ASP.NET" title="ASP.NET">ASP.NET</a></li>
<li>Nouveaux contrôles de gestion de données</li>
<li>Nouvelles possibilités de personnalisation des fonctionnalités <a href="ASP.NET" title="ASP.NET">ASP.NET</a> telles que les <a href="Th%C3%A8me_(informatique)" title="Thème (informatique)">thèmes</a> et <a href="Web_part" title="Web part">web parts</a></li>
<li><a href=".NET_Micro_Framework" title=".NET Micro Framework">.NET Micro Framework</a> - une version du .NET Framework lié au projet Smart Personal Object Technology (SPOT)</li></ul>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_3.0">.NET Framework 3.0</h3></div>
<p>.NET Framework 3.0, anciennement WinFX<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>, inclut des nouvelles <a href="Interface_de_programmation" title="Interface de programmation">API</a> de <a href="Managed_code" title="Managed code">code managé</a>. Elles font partie intégrante des systèmes d'exploitation <a href="Microsoft_Windows_Vista" class="mw-redirect" title="Microsoft Windows Vista">Windows Vista</a> et de <a href="Windows_Server_2008" title="Windows Server 2008">Windows Server 2008</a>. Ces API sont aussi disponibles en téléchargement pour <a href="Microsoft_Windows_XP" class="mw-redirect" title="Microsoft Windows XP">Windows XP</a> SP2 et <a href="Microsoft_Windows_Server_2003" class="mw-redirect" title="Microsoft Windows Server 2003">Windows Server 2003</a>. Il n'y a pas de changements majeurs inclus avec cette version. Le .NET Framework 3.0 utilise le <a href="Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a> de la version 2.0 du Framework<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>. Contrairement aux autres évolutions du Framework, il n'y a pas eu d'équivalent à cette version pour le .NET Compact Framework.
</p><p>Le .NET Framework 3.0 est constitué de quatre parties principales&nbsp;:
</p>
<ul><li><a href="Windows_Presentation_Foundation" title="Windows Presentation Foundation">Windows Presentation Foundation</a> (WPF), anciennement Avalon&nbsp;; Il s'agit d'un nouveau sous-système d'interface utilisateur basé sur <a href="XML" class="mw-redirect" title="XML">XML</a> et le <a href="Image_vectorielle" title="Image vectorielle">dessin vectoriel</a>. WPF utilise les <a href="Carte_graphique" title="Carte graphique">cartes graphiques</a> 3D et <a href="Direct3D" title="Direct3D">Direct3D</a><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>&nbsp;;</li>
<li><a href="Windows_Communication_Foundation" title="Windows Communication Foundation">Windows Communication Foundation</a> (WCF), anciennement Indigo&nbsp;; WCF est un système de messagerie orienté services qui permet aux programmes de communiquer localement ou à distance (d'une façon analogue aux <a href="Service_web" title="Service web">services web</a>)&nbsp;;</li>
<li><a href="Windows_Workflow_Foundation" title="Windows Workflow Foundation">Windows Workflow Foundation</a> (WF) permet la construction de transactions ou tâches automatisées à l'aide de <a href="Workflow" title="Workflow">workflows</a>&nbsp;;</li>
<li><a href="Windows_CardSpace" title="Windows CardSpace">Windows CardSpace</a>, anciennement InfoCard est un composant logiciel destiné à mémoriser de façon sécurisée les informations numériques relatives à une personne et fournit une interface unifiée pour le choix des identités pour une transaction particulière.</li></ul>
<p>Le nouvel environnement inclut également les autres éléments du Framework .NET&nbsp;:
</p>
<ul><li>le <a href="Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a>&nbsp;;</li>
<li><a href="ASP.NET" title="ASP.NET">ASP.NET</a>&nbsp;;</li>
<li><a href="Windows_Forms" title="Windows Forms">WinForms</a>&nbsp;;</li>
<li><a href="ActiveX_Data_Objects#ADO.NET" title="ActiveX Data Objects">ADO.NET</a>.</li></ul>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_3.5">.NET Framework 3.5</h3></div>
<p>La version 3.5 du .NET Framework est officiellement disponible (en RTM) depuis le <time class="nowrap" datetime="2007-11-19" data-sort-value="2007-11-19">19 novembre 2007</time>. De même que la version 3.0, la version 3.5 utilise la version 2.0 de la CLR. Cette version du framework inclut le .NET Framework 2.0 SP1 qui ajoute des méthodes et des propriétés aux bibliothèques de bases de la version 2.0. Celles-ci sont nécessaires à certaines fonctionnalités du framework 3.5 telle que <a href="Language_Integrated_Query" title="Language Integrated Query">LINQ</a>. Ces modifications n'affectent pas les applications écrites avec la version 3.5.
</p><p>Un nouveau .NET Compact Framework 3.5 est aussi disponible en tandem avec cette évolution dans le but de fournir de nouvelles fonctionnalités pour les appareils fonctionnant avec <a href="Microsoft_Windows_Mobile" class="mw-redirect" title="Microsoft Windows Mobile">Windows Mobile</a> et <a href="Microsoft_Windows_CE" class="mw-redirect" title="Microsoft Windows CE">Windows Embedded CE</a>.
</p><p>Le code source des bibliothèques de classes de bases a été partiellement dévoilé avec cette version sous la licence <a href="Shared_source" class="mw-redirect" title="Shared source">sources partagées</a><sup id="cite_ref-sourcerelease_6-0" class="reference"><a href="#cite_note-sourcerelease-6"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>.
</p><p>La version 3.5 du framework inclut le framework <a href="Language_Integrated_Query" title="Language Integrated Query">Language Integrated Query</a> (LINQ) permettant des requêtes objet aussi bien sur des Data, des Collections, du XML ou des DataSets. Elle intègre également le framework <i>Ajax.Net</i> avec de nouveaux protocoles (<a href="Asynchronous_JavaScript_and_XML" class="mw-redirect" title="Asynchronous JavaScript and XML">AJAX</a>, <a href="JavaScript_Object_Notation" title="JavaScript Object Notation">JSON</a>, <a href="Representational_state_transfer" title="Representational state transfer">REST</a>, <a href="RSS_(format)" class="mw-redirect" title="RSS (format)">RSS</a>, <a href="Atom_Syndication_Format" title="Atom Syndication Format">Atom</a>) et d'autres standards WS-*.
</p>
<div class="mw-heading mw-heading4"><h4 id="Récapitulatif_des_changements_avec_la_version_3.5"><span id="R.C3.A9capitulatif_des_changements_avec_la_version_3.5"></span>Récapitulatif des changements avec la version 3.5</h4></div>
<ul><li>Ajout de nouvelles fonctionnalités intégrées aux compilateurs des langages <a href="C_sharp" class="mw-redirect" title="C sharp">C#</a> 3.0 et <a href="Visual_Basic_.NET" title="Visual Basic .NET">VB.NET</a> 9.0</li>
<li>Ajout du support pour les arbres d'expression et les méthodes lambda</li>
<li>Méthodes d'extension</li>
<li>Types anonymes avec les inférences statiques de types</li>
<li><a href="Language_Integrated_Query" title="Language Integrated Query">Language Integrated Query</a> (LINQ)&nbsp;: LINQ to Objects, LINQ to XML et LINQ to SQL</li>
<li>Support pour la pagination dans <a href="ActiveX_Data_Objects" title="ActiveX Data Objects">ADO.NET</a></li>
<li>Une API de synchronization ADO.NET pour synchroniser les données en cache local et côté serveur</li>
<li>Une API asynchrone pour les entrées/sorties réseau</li>
<li>Une pile de protocoles pour le <a href="Pair_%C3%A0_pair" class="mw-redirect" title="Pair à pair">pair à pair</a>, et du code managé pour le <a href="Peer_Name_Resolution_Protocol" title="Peer Name Resolution Protocol">Peer Name Resolution Protocol</a> (PNRP)</li>
<li>Des <a href="Interface_de_programmation" title="Interface de programmation">interfaces de programmation</a> (API) managées pour utiliser <a href="Windows_Management_Instrumentation" title="Windows Management Instrumentation">Windows Management Instrumentation</a> (WMI) et <a href="Active_Directory" title="Active Directory">Active Directory</a></li>
<li>Amélioration des moteurs d'exécution de <a href="Windows_Communication_Foundation" title="Windows Communication Foundation">Windows Communication Foundation</a> (WCF) et <a href="Windows_Workflow_Foundation" title="Windows Workflow Foundation">Windows Workflow Foundation</a> (WF) ce qui permet à WCF de fonctionner avec les données aux formats POX et <a href="JavaScript_Object_Notation" title="JavaScript Object Notation">JSON</a>. Ces moteurs permettent aussi d'exposer les workflows WF comme des services WCF</li>
<li><a href="ASP.NET_Ajax" class="mw-redirect" title="ASP.NET Ajax">ASP.NET Ajax</a> est inclus</li>
<li>Un nouvel espace de nom System.CodeDom.</li></ul>
<div class="mw-heading mw-heading4"><h4 id="SP1_(nom_de_code_«_Arrowhead_»)"><span id="SP1_.28nom_de_code_.C2.AB_Arrowhead_.C2.BB.29"></span>SP1 (nom de code «&nbsp;Arrowhead&nbsp;»)</h4></div>
<p>Le .NET Framework 3.5 SP1 va améliorer le support pour les applications partiellement connectées et fournit un support pour le <a href="Mod%C3%A8le-Vue-Contr%C3%B4leur" class="mw-redirect" title="Modèle-Vue-Contrôleur">modèle MVC</a> de Microsoft ASP.NET. Arrowhead améliorera les performances du démarrage à froid (démarrage quand aucune application nécessitant le .NET Framework n'a encore été lancée) à hauteur de 25 à 40&nbsp;%. Cette mise à jour accélérera aussi certains effets de <a href="Windows_Presentation_Foundation" title="Windows Presentation Foundation">Windows Presentation Foundation</a> (WPF) telles que les ombres, mais aussi les performances générales. Un ensemble d'autres contrôles WPF seront aussi disponibles, et notamment un <code>DataGrid</code>.
</p>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_4.0">.NET Framework 4.0</h3></div>
<div class="mw-heading mw-heading4"><h4 id="Annonces">Annonces</h4></div>
<p>Le <time class="nowrap" datetime="2008-09-29" data-sort-value="2008-09-29">29 septembre 2008</time>, Microsoft a annoncé que la prochaine version du framework .Net se nommerait .NET Framework 4.0. Bien que tous les détails exacts n'aient pas été communiqués, certaines directions de la compagnie ont alors été rendues publiques.
</p><p>L'une de ces directions était notamment le traitement parallèle de l'information, applicable aux systèmes multi-core ou <a href="Cloud_computing" title="Cloud computing">distribués</a><sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>.
Dans cette optique, ils prévoyaient de publier la technologie PLINQ (Parallel <a href="Language_Integrated_Query" title="Language Integrated Query">Language Integrated Query</a>)<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup>, une implémentation de la bibliothèque LINQ, qui exécute les requêtes en tirant profit des capacités parallèles du système<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup>.
</p>
<div class="mw-heading mw-heading4"><h4 id="Versions_du_.Net_Framework_4.0">Versions du .Net Framework 4.0</h4></div>
<p>Début 2010, le .Net Framework 4.0 est disponible dans sa version 4.0.30319<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup><sup class="reference cite_virgule">,</sup><sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> pour plateformes <a href="Windows_XP_SP3" class="mw-redirect" title="Windows XP SP3">Windows XP SP3</a>, <a href="Windows_Server_2008" title="Windows Server 2008">Windows Server 2008</a>, <a href="Windows_Vista" title="Windows Vista">Windows Vista</a> et <a href="Windows_7" title="Windows 7">Windows 7</a>.
</p><p>Microsoft a également annoncé sa volonté d'inclure le .NET Framework et <a href="ASP.NET" title="ASP.NET">ASP.NET</a> dans la version «&nbsp;Server Core&nbsp;» du système d'exploitation qui suivra <a href="Windows_Server_2008" title="Windows Server 2008">Windows Server 2008</a><sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup>.
</p>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_4.5">.NET Framework 4.5</h3></div>
<p>Sorti en mars 2012, le .Net Framework 4.5<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> n'est supporté qu'à partir de <a href="Windows_Vista" title="Windows Vista">Windows Vista</a>.
</p>
<div class="mw-heading mw-heading3"><h3 id=".NET_Framework_4.8.1">.NET Framework 4.8.1</h3></div>
<p>Sortie le <time class="nowrap" datetime="2022-08-09" data-sort-value="2022-08-09">9 août 2022</time>, la version 4.8.1 du framework .NET ajoute le support natif des applications 64 bits <a href="Architecture_ARM" title="Architecture ARM">Arm</a> sur les appareils équipés de <a href="Windows_11" title="Windows 11">Windows 11</a>, des <a href="Infobulle" title="Infobulle">infobulles</a> respectant la norme <a href="WCAG" class="mw-redirect" title="WCAG">WCAG 2.1</a> pour les applications <a href="Windows_Forms" title="Windows Forms">Windows Forms</a> (sur Windows 11 uniquement) et <a href="Windows_Presentation_Foundation" title="Windows Presentation Foundation">WPF</a> (sur Windows 10 également), et des améliorations supplémentaires vis-à-vis de l'accessibilité pour les applications Windows Forms. Elle est supportée uniquement sur <a href="Windows_10" title="Windows 10">Windows 10 version 20H2</a> (ou une version ultérieure), <a href="Windows_11" title="Windows 11">Windows 11</a> et <a href="Windows_Server_2022" title="Windows Server 2022">Windows Server 2022</a><sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Notes">Notes</h3></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references" data-mw-group="N">
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">Prononcé <span title="Alphabet phonétique international" class="API" style="font-family:'DejaVu Sans','Doulos SIL','Lucida Grande','Segoe UI','Arial Unicode MS','Adobe Pi Std','Lucida Sans Unicode','Chrysanthi Unicode',Code2000,Gentium,GentiumAlt,'TITUS Cyberbit Basic','Bitstream Vera Sans','Bitstream Cyberbit','Hiragino Kaku Gothic Pro','Matrix Unicode',sans-serif;"><a href="Alphabet_phon%C3%A9tique_international" title="Alphabet phonétique international"><span class="nowrap">/dɒt nɛt/</span></a></span> en <a href="Anglais" title="Anglais">anglais</a>, car <i><span class="lang-en" lang="en">dot</span></i> est l'équivalent anglophone du mot «&nbsp;<a href="Point_(signe)" title="Point (signe)">point</a>&nbsp;», dans le contexte d'une adresse web.</span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading3"><h3 id="Références"><span id="R.C3.A9f.C3.A9rences"></span>Références</h3></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap mw-references-columns"><ol class="references">
<li id="cite_note-wikidata-db0aae4ce747425de906af6c567ed613b8ccf832-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-db0aae4ce747425de906af6c567ed613b8ccf832_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage">«&nbsp;<a rel="nofollow" class="external text" href="https://devblogs.microsoft.com/dotnet/"><cite style="font-style:normal;"><span class="lang-en" lang="en">.NET Framework 4.8.1 is available on Windows Update and Catalog June 27, 2023</span></cite></a>&nbsp;», <time class="nowrap" datetime="2023-06-27" data-sort-value="2023-06-27">27 juin 2023</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2023-07-03" data-sort-value="2023-07-03">3 juillet 2023</time>)</small></span></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://blogs.msdn.com/somasegar/archive/2006/06/09/624300.aspx"><span class="lang-en" lang="en"><i>WinFX name change announcement</i></span></a>.</span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a> </span><span class="reference-text"><span class="ouvrage">«&nbsp;<a rel="nofollow" class="external text" href="http://msdn2.microsoft.com/en-us/netframework/aa663314.aspx"><cite style="font-style:normal;">.NET Framework 3.0 Versioning and Deployment Q&amp;A</cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2007-03-21" data-sort-value="2007-03-21">21 mars 2007</time>)</small></span>.</span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><a href="#cite_ref-5">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://msdn2.microsoft.com/en-us/library/ms754130.aspx">WPF SDK</a> sur le site de l'éditeur.</span>
</li>
<li id="cite_note-sourcerelease-6"><span class="mw-cite-backlink"><a href="#cite_ref-sourcerelease_6-0">↑</a> </span><span class="reference-text"><span class="ouvrage" id="Guthrie"><span class="ouvrage" id="Scott_Guthrie">Scott Guthrie, «&nbsp;<a rel="nofollow" class="external text" href="http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx"><cite style="font-style:normal;">Releasing the Source Code for the NET Framework</cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2007-10-04" data-sort-value="2007-10-04">4 octobre 2007</time>)</small></span></span>.</span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><a href="#cite_ref-7">↑</a> </span><span class="reference-text"><span class="ouvrage" id="Somasegar"><span class="ouvrage" id="S._Somasegar"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> S. Somasegar, «&nbsp;<a rel="nofollow" class="external text" href="http://blogs.msdn.com/somasegar/archive/2007/05/09/the-world-of-multi-and-many-cores.aspx"><cite style="font-style:normal;" lang="en">The world of multi and many cores</cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2008-06-01" data-sort-value="2008-06-01"><abbr class="abbr" title="premier">1<sup>er</sup></abbr> juin 2008</time>)</small></span></span>.</span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><a href="#cite_ref-8">↑</a> </span><span class="reference-text"><span class="ouvrage"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> «&nbsp;<a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-gb/magazine/cc163329.aspx"><cite style="font-style:normal;" lang="en">Parallel LINQ: Running Queries On Multi-Core Processors</cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2008-06-02" data-sort-value="2008-06-02">2 juin 2008</time>)</small></span>.</span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><a href="#cite_ref-9">↑</a> </span><span class="reference-text"><span class="ouvrage"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> «&nbsp;<a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-gb/magazine/cc163340.aspx"><cite style="font-style:normal;" lang="en">Parallel Performance: Optimize Managed Code For Multi-Core Machines</cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2008-06-02" data-sort-value="2008-06-02">2 juin 2008</time>)</small></span>.</span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><a href="#cite_ref-10">↑</a> </span><span class="reference-text"><a rel="nofollow" class="external text" href="http://www.microsoft.com/downloads/fr-fr/details.aspx?familyid=9cfb2d51-5ff4-4491-b0e5-b386f32c0992">Programme d'installation Web Microsoft .NET Framework 4</a> www.microsoft.com</span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><a href="#cite_ref-11">↑</a> </span><span class="reference-text"><a rel="nofollow" class="external text" href="http://www.microsoft.com/web/gallery/install.aspx?appid=NETFX4RTM">Programme d'installation de la plate-forme Développeur .NET Framework 4</a> www.microsoft.com</span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><a href="#cite_ref-12">↑</a> </span><span class="reference-text"><span class="ouvrage" id="2008"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> «&nbsp;<a rel="nofollow" class="external text" href="http://www.microsoftpdc.com/Agenda/Sessions.aspx"><cite style="font-style:normal;" lang="en">PDC2008 Sessions Overview</cite></a>&nbsp;», <a href="Microsoft" title="Microsoft">Microsoft</a>, <time class="nowrap" datetime="2008-05-28" data-sort-value="2008-05-28">28 mai 2008</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2008-05-28" data-sort-value="2008-05-28">28 mai 2008</time>)</small></span></span>
</li>
<li id="cite_note-13"><span class="mw-cite-backlink"><a href="#cite_ref-13">↑</a> </span><span class="reference-text"><a rel="nofollow" class="external text" href="http://www.microsoft.com/fr-fr/download/details.aspx?id=30653">Microsoft .NET Framework 4.5</a> Microsoft Download Center</span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><a href="#cite_ref-14">↑</a> </span><span class="reference-text"><span class="ouvrage" id="2022"><abbr class="abbr indicateur-langue" title="Langue : anglais américain">(en-US)</abbr> «&nbsp;<a rel="nofollow" class="external text" href="https://devblogs.microsoft.com/dotnet/announcing-dotnet-framework-481/"><cite style="font-style:normal;" lang="en-us">Announcing .NET Framework 4.8.1</cite></a>&nbsp;», sur <span class="italique">devblogs.microsoft.com</span>, <time class="nowrap" datetime="2022-08-09" data-sort-value="2022-08-09">9 août 2022</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2023-10-27" data-sort-value="2023-10-27">27 octobre 2023</time>)</small></span></span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Voir_aussi">Voir aussi</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Articles_connexes">Articles connexes</h3></div>
<ul><li><a href="Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a>, mise en œuvre</li>
<li>Liste des versions du Framework .NET&nbsp;<a href="https://en.wikipedia.org/wiki/List_of_.NET_Framework_versions" class="extiw external" title="en:List of .NET Framework versions"><span class="indicateur-langue" title="Article en anglais&nbsp;: «&nbsp;List of .NET Framework versions&nbsp;»">(en)</span></a>, liste sous forme&nbsp;: Version Windows-Service Pack / Version .Net / Date</li>
<li><a href="Mono_(logiciel)" title="Mono (logiciel)">Mono</a>, mise en œuvre libre d'une partie de <a href="Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3></div>
<ul><li><span class="ouvrage">«&nbsp;<a rel="nofollow" class="external text" href="https://msdn.microsoft.com/library/vstudio/w0x726c2.aspx"><cite style="font-style:normal;">.NET Framework 4.6 et 4.5</cite></a>&nbsp;», sur <span class="italique">msdn.microsoft.com</span></span></li></ul>
<div class="navbox-container" style="clear:both;">


</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de l’informatique</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de Microsoft</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2025-03-21" href="https://fr.wikipedia.org/wiki/?title=.NET_Framework&amp;oldid=224109886">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>